package com.core.model;

import com.jfinal.plugin.activerecord.Model;
import com.jfinal.plugin.activerecord.Page;

@SuppressWarnings("serial")
public class UserModel extends Model<UserModel> {
	public static final UserModel dao = new UserModel();
	
	public Page<UserModel> paginate(int pageNumber, int pageSize) {
		return paginate(pageNumber, pageSize, "select *", "from eo_user order by uid asc");
	}
}